package com.vanysoft.business.sys.service.impl;

import com.vanysoft.business.sys.dao.OrgMapper;
import com.vanysoft.business.sys.entity.Org;
import com.vanysoft.business.sys.service.OrgService;
import com.vanysoft.framework.config.database.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户服务类实现
 *
 * @author qi_ma
 */
@Service
public class OrgServiceImpl extends BaseServiceImpl<OrgMapper, Org> implements OrgService {

    @Override
    public List<Org> selectByUserId(String userId) {
        return baseMapper.selectByUserId(userId);
    }
}
